.font-color {
  color: #5881db !important;
}

.course-detail {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-bottom: 45px;
  box-sizing: border-box;
  background-color: #fff;

  .loading-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-learning {
    width: 100%;
    height: 180px;
    position: relative;
    background-color: #000;
    transition: height 400ms ease;
    z-index: 2;

    .background-img {
      width: 100%;
      height: 100%;
      vertical-align: top;
    }

    .pic {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 2;

      .img {
        height: 100%;
        width: 100%;
        position: relative;
        overflow: hidden;
      }

      span.course-type {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 12px;
        color: #fff;
        height: 22px;
        line-height: 22px;
        padding: 0 10px;
        border-radius: 4px;
        text-align: center;
        display: inline-block;
        background-color: #5881db;
        box-sizing: border-box;
        border: 1px solid #fff;

      }


    }

    .empty {
      height: 380px;
      background-color: #333;
    }
  }

  .progress-box {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    padding: 0 15px;
      box-sizing: border-box;

    .progress-item {
      flex: 1;
    }

    span.progress-text {
      width: 50px;
      flex-shrink: 0;
      text-align: left;
      font-size: 12px;
      color: #5881db;
      font-weight: bold;
    }

    .text{
      font-size: 12px;
      color: #333;
    }
  }

  .course-detail-data {
    width: 100%;
    .course-title {
      width: 100%;
      height: 50px;
      display: flex;
      align-items: center;
      padding: 0 15px;
      box-sizing: border-box;
      font-weight: bold;
      font-size: 16px;
    }
    .pub-time{
      font-size: 12px;
      color: #333;
      padding: 0 15px 10px;
      box-sizing: border-box;
      >span{
        color: #5881db;
        margin: 0 3px;
      }
    }
    .certificate{
      display: flex;
      align-items: center;
      font-size: 12px;
      color: #333;
      padding: 0 15px 10px;
      box-sizing: border-box;
    }

    .course-lesson-list {
      border-top: 5px solid rgba(241, 241, 241, 0.62);
      padding: 0 15px;
      box-sizing: border-box;

      .tit {
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
        font-size: 14px;
        color: #333;
        font-weight: bold;
      }
    }

    .lesson-list {
      width: 100%;
      box-sizing: border-box;

      >li {
        width: 100%;
        background-color: rgba(241, 241, 241, 0.62);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        border-radius: 5px;
        padding: 13px 10px;
        box-sizing: border-box;
        margin-bottom: 10px;

        .type {
          flex-shrink: 0;

          .iconfont {
            font-size: 36px;
            color: #333;
          }
        }

        .suo {
          flex-shrink: 0;
          width: 20px;

          .iconfont {
            font-size: 16px;
            color: #333;
          }
        }

        .cont {
          padding-left: 10px;
          box-sizing: border-box;
          width: 265px;
        }

        .top {
          width: 100%;
          font-size: 15px;
          text-align: left;
          height: 26px;

          .title {
            display: inline-block;
            width: 270px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: rgba(25, 31, 37, 0.72);
          }


        }

        .bottom {
          // padding-left: 50px;
          text-align: left;
          display: flex;
          align-items: center;
          justify-content: flex-start;

          .iconfont {
            display: inline-block;
            font-size: 16px;
            color: #999999;
            margin-right: 7px;
          }

          .tab {
            display: inline-block;
            font-size: 12px;
            color: #999999;
          }

          .progress {
            width: 50px;
            flex-shrink: 0;
            text-align: right;
            font-size: 12px;
            font-weight: 300;
            color: #333;
          }

          .progressa {
            flex-shrink: 0;
            width: 50px;
            text-align: right;
            font-size: 12px;
            font-weight: 500;
            color: #333;
          }

          .img-box {
            height: 48px;

            img {
              height: 100%;
            }
          }
        }

      }


      .learning-lesson {
        background-color: rgba(233, 237, 248, 0.62);

        .tab {
          color: #5881db !important;
        }

        .progress {
          color: #5881db !important;
        }

        .progressa {
          color: #5881db !important;
        }

        .type {
          flex-shrink: 0;

          .iconfont {
            font-size: 36px;
          }
        }
      }

    }


  }

  .joinEletive {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #5881db;
    text-align: center;
    line-height: 45px;
    font-size: 14px;
    color: #fff;
  }

}
